package com.homework6;

public class Test {
    public static void show(Rectangle rectangle){
        rectangle.counter();
    }

    public static void main(String[] args) {
        Rectangle c=new Cuboid(10,10,10);
        show(c);
        c=new Rectangle(5,5);
        show(c);
    }

}
